package com.syx.entity;

public class Car {
    private Integer cid;
    private String cname;
    private String pic;
    private String ontime;
    private String price;
    private Integer sheng;
    private Integer shi;
    private Integer xian;
    private Integer tid;

    public Car() {
    }

    public Car(Integer cid, String cname, String pic, String ontime, String price, Integer sheng, Integer shi, Integer xian, Integer tid) {
        this.cid = cid;
        this.cname = cname;
        this.pic = pic;
        this.ontime = ontime;
        this.price = price;
        this.sheng = sheng;
        this.shi = shi;
        this.xian = xian;
        this.tid = tid;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getOntime() {
        return ontime;
    }

    public void setOntime(String ontime) {
        this.ontime = ontime;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public Integer getSheng() {
        return sheng;
    }

    public void setSheng(Integer sheng) {
        this.sheng = sheng;
    }

    public Integer getShi() {
        return shi;
    }

    public void setShi(Integer shi) {
        this.shi = shi;
    }

    public Integer getXian() {
        return xian;
    }

    public void setXian(Integer xian) {
        this.xian = xian;
    }

    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    @Override
    public String toString() {
        return "Car{" +
                "cid=" + cid +
                ", cname='" + cname + '\'' +
                ", pic='" + pic + '\'' +
                ", ontime='" + ontime + '\'' +
                ", price='" + price + '\'' +
                ", sheng=" + sheng +
                ", shi=" + shi +
                ", xian=" + xian +
                ", tid=" + tid +
                '}';
    }
}
